//创建用户相关的小仓库
import { defineStore } from "pinia";
// 引入路由常量
import { constantRoute } from "@router/routes";
//创建用户小仓库
export const useRoutesStore = defineStore("Routes", {
  //小仓库存储数据地方
  state: () => {
    return {
      menuRoutes: constantRoute, //仓库存储生成菜单需要数组(路由)
    };
  },
  //异步|逻辑的地方
  actions: {},
  getters: {},
});
//对外暴露获取小仓库方法
